cmake_minimum_required(VERSION 3.14)

project(fluent-example LANGUAGES CXX VERSION 0.0.1)

# 1. 引入 Spark 构建体系
include(cmake/SparkWithGit.cmake)
spark_initialize_modules()

# 资源文件路径
set(QRC_SOURCES "")

#
spark_add_executable_path(${PROJECT_NAME} 
    src
    ${QRC_SOURCES}
)
target_link_qt5(${PROJECT_NAME})

spark_framework_include_with_git(${PROJECT_NAME}
    https://gitee.com/spark-framework-libs/fluent-ui --branch=fake-cmake-spark
    FEATURES 
        fluentui
        fluentui_example
        fluentui_example_install
)

add_package_descript(cmake/spark-deb-package.descript)